<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dockur/Windows - 在 Docker 中运行 Windows</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
        }
        .serif-font {
            font-family: 'Noto Serif SC', serif;
        }
        .gradient-bg {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 4rem;
            line-height: 3rem;
            padding-right: 0.5rem;
            margin-top: 0.5rem;
            font-weight: 700;
            color: #667eea;
        }
        .section-divider {
            position: relative;
            text-align: center;
            margin: 4rem 0;
        }
        .section-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, #e5e7eb, transparent);
        }
        .section-divider span {
            background: white;
            padding: 0 2rem;
            position: relative;
            color: #9ca3af;
            font-size: 0.875rem;
        }
        .feature-icon {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        .code-block {
            background: #1e293b;
            color: #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.875rem;
            line-height: 1.5;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .animate-fadeInUp {
            animation: fadeInUp 0.8s ease-out;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="gradient-bg text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center animate-fadeInUp">
            <h1 class="text-5xl md:text-6xl font-bold mb-6 serif-font">Dockur/Windows</h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90">在 Docker 容器中运行完整的 Windows 操作系统</p>
            <div class="flex flex-wrap justify-center gap-4 mb-12">
                <a href="https://github.com/dockur/windows" target="_blank" class="bg-white text-purple-700 px-6 py-3 rounded-full font-medium hover:bg-gray-100 transition-colors">
                    <i class="fab fa-github mr-2"></i>GitHub 仓库
                </a>
                <button class="bg-purple-800 bg-opacity-50 text-white px-6 py-3 rounded-full font-medium hover:bg-opacity-70 transition-colors">
                    <i class="fas fa-book mr-2"></i>快速开始
                </button>
            </div>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 text-center">
                <div>
                    <i class="fas fa-rocket text-4xl mb-3"></i>
                    <h3 class="text-lg font-semibold">自动化部署</h3>
                    <p class="opacity-80">一键下载安装 Windows</p>
                </div>
                <div>
                    <i class="fas fa-layer-group text-4xl mb-3"></i>
                    <h3 class="text-lg font-semibold">轻量容器化</h3>
                    <p class="opacity-80">基于 Docker 和 KVM 技术</p>
                </div>
                <div>
                    <i class="fas fa-code-branch text-4xl mb-3"></i>
                    <h3 class="text-lg font-semibold">完全开源</h3>
                    <p class="opacity-80">免费使用，代码透明</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-6xl mx-auto px-6 py-12">
        <!-- Introduction -->
        <section class="mb-16">
            <div class="bg-white rounded-2xl shadow-lg p-8 md:p-12">
                <h2 class="text-3xl font-bold mb-6 text-gradient">项目简介</h2>
                <p class="text-lg leading-relaxed text-gray-700 drop-cap">
                    Dockur/Windows 是一个开源项目，允许用户在 Linux 主机上的 Docker 容器中运行完整的 Windows 操作系统。它为开发者、IT 管理员和技术爱好者设计，简化了创建隔离 Windows 环境的过程，用于测试、开发或运行特定于 Windows 的应用程序。通过结合 Docker 的容器化和 KVM 虚拟化技术，它提供了一种高效的方式在 Linux 环境下运行 Windows 系统。
                </p>
                <div class="mt-8 p-6 bg-purple-50 rounded-xl">
                    <h3 class="text-xl font-semibold mb-3 text-purple-800">
                        <i class="fas fa-users mr-2"></i>目标用户
                    </h3>
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                        <div class="flex items-start">
                            <i class="fas fa-code text-purple-600 mt-1 mr-3"></i>
                            <p class="text-gray-700">需要在非 Windows 主机上运行 Windows 软件的开发者</p>
                        </div>
                        <div class="flex items-start">
                            <i class="fas fa-server text-purple-600 mt-1 mr-3"></i>
                            <p class="text-gray-700">希望快速部署测试环境的系统管理员</p>
                        </div>
                        <div class="flex items-start">
                            <i class="fas fa-flask text-purple-600 mt-1 mr-3"></i>
                            <p class="text-gray-700">探索虚拟化技术的技术爱好者</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Problem Solving -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">解决的核心问题</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-cogs"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">复杂配置</h3>
                    <p class="text-gray-600">传统虚拟机软件（如 VMware 或 Proxmox）需要繁琐的安装和配置，占用大量系统资源。</p>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-shield-alt"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">环境隔离性不足</h3>
                    <p class="text-gray-600">在同一主机上运行多个 Windows 实例可能导致资源冲突或配置复杂。</p>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-exchange-alt"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">跨平台兼容性问题</h3>
                    <p class="text-gray-600">在 Linux 主机上运行 Windows 通常需要额外的兼容层，增加设置难度。</p>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-clock"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">手动安装耗时</h3>
                    <p class="text-gray-600">手动下载和安装 Windows ISO 文件需要时间，且配置虚拟环境可能出错。</p>
                </div>
            </div>
        </section>

        <!-- Core Features -->
        <section class="mb-16">
            <div class="section-divider">
                <span><i class="fas fa-star"></i> 核心功能 <i class="fas fa-star"></i></span>
            </div>
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                <div class="space-y-6">
                    <div class="flex items-start">
                        <div class="bg-purple-100 rounded-lg p-3 mr-4">
                            <i class="fas fa-download text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">自动安装</h3>
                            <p class="text-gray-600">自动下载指定版本的 Windows ISO 文件并完成安装，无需用户手动干预，简化部署流程。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="bg-purple-100 rounded-lg p-3 mr-4">
                            <i class="fas fa-globe text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">Web 界面访问</h3>
                            <p class="text-gray-600">通过浏览器访问容器端口（默认 8006），提供直观的 Windows 桌面体验。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="bg-purple-100 rounded-lg p-3 mr-4">
                            <i class="fas fa-desktop text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">RDP 支持</h3>
                            <p class="text-gray-600">支持通过远程桌面协议（RDP）连接，提供更高画质和更好的交互体验。</p>
                        </div>
                    </div>
                </div>
                <div class="space-y-6">
                    <div class="flex items-start">
                        <div class="bg-purple-100 rounded-lg p-3 mr-4">
                            <i class="fas fa-sliders-h text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">灵活配置</h3>
                            <p class="text-gray-600">支持自定义 CPU 核心数、内存大小、磁盘容量及语言版本，满足不同需求。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="bg-purple-100 rounded-lg p-3 mr-4">
                            <i class="fas fa-microchip text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">跨架构支持</h3>
                            <p class="text-gray-600">提供 x64 和 ARM64 版本，适配不同硬件平台（如 Raspberry Pi 或传统 PC）。</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Architecture Diagram -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-center">系统架构</h2>
            <div class="bg-white rounded-2xl shadow-lg p-8">
                <div class="mermaid">
                    graph TB